package com.xx.ch07.demo.demo10;

import com.xx.ch07.demo.demo01.SysUser1;
import com.xx.ch07.demo.demo02.SysUser;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author 许欣
 * 时间：2022/4/18 11:13
 * 描述：
 */
public class SysUserMapperImpl implements SysUser { @Override
    public boolean add(SysUser1 sysUser1) {
        return false;
    }

    @Override
    public List<SysUser1> selectSysUserList(SysUser1 sysUser) {
        return this.getSqlSession().selectList(
                "com.xx.ch07.demo.demo02.SysUser",sysUser
        );
    }

    private SqlSession getSqlSession() {
        return null;
    }
}
